<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="assetic.filter.less.class">Assetic\Filter\LessFilter</parameter>
        <parameter key="assetic.filter.less.node">%assetic.node.bin%</parameter>
        <parameter key="assetic.filter.less.node_paths">%assetic.node.paths%</parameter>
        <parameter key="assetic.filter.less.timeout">null</parameter>
        <parameter key="assetic.filter.less.compress">null</parameter>
        <parameter key="assetic.filter.less.load_paths" type="collection" />
    </parameters>

    <services>
        <service id="assetic.filter.less" class="%assetic.filter.less.class%">
            <tag name="assetic.filter" alias="less" />
            <argument>%assetic.filter.less.node%</argument>
            <argument>%assetic.filter.less.node_paths%</argument>
            <call method="setTimeout"><argument>%assetic.filter.less.timeout%</argument></call>
            <call method="setCompress"><argument>%assetic.filter.less.compress%</argument></call>
            <call method="setLoadPaths"><argument>%assetic.filter.less.load_paths%</argument></call>
        </service>
    </services>
</container>
